package com.specter.mvc.model.batis;

/**
 * Note:MySql数据库方言
 * 
 * @author Liang.Wang
 * @version Mar 16, 2017
 */
public class Dialect4MySQL implements Dialect {

	@Override
	public String limitSQL(String sql, long offset, long limit) {
		String fmt = "%s LIMIT %s,%s";
		return fmt.formatted(sql, offset, limit);
	}

}
